#!/usr/bin/ruby

load "../menu.rb"

menu_main = Menu.new("main")
item_buy_stock = MenuItem.new("buy_stock",menu_main)
item_buy_pt = MenuItem.new("buy_pt",menu_main)
item_show_status = MenuItem.new("show_status",menu_main)
item_exit = MenuItem.new("exit",menu_main)

menu_buy = Menu.new("buy_stock",item_buy_stock)
item_buy_1 = MenuItem.new("stock_1",menu_buy)
item_buy_2 = MenuItem.new("stock 2",menu_buy)

puts menu_main.to_s